Example: Using the SNTP Service SL Library
Product: CODESYS IIOT Libraries SL
The SNTP Service SL Example.project
sample project, which also provides a visualization for time requests and time settings via SNTP, shows how to use the SNTP Service SL library.
Description
The SNTP Service SL Example.project
shows how to use the library function blocks in the following applications.
Application: SNTPRequestExample
The application reads the current time from an SNTP server and displays the result of the request, the local time, and the time difference in the visualization.
![]() |
Application: SNTPServerExample
The SNTPServerExample
application starts a simple SNTP server on port 123.
![]() |
System requirements and restrictions
Programming system | CODESYS Development System (version 3.5.18.0 or higher) |
Runtime system | CODESYS Control Win (version 3.5.18.0) |
Add-on components | - |
Supported platforms/devices | All NoteNote: Use the
|
Restrictions |
|
Note
DOWNLOAD projects